package com.xzj.admin.boot.domain.entity;

import com.xzj.common.core.domain.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;

/**
 * @program: xzj-admin
 * @ClassName: SysMenu
 * @description: 菜单;
 * @author: XiaZunJun
 * @create: 2024-7-30
 */
@Schema(name = "菜单",description = "")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysMenu extends BaseEntity implements Serializable{



    /** 主键Id */
    @Schema(name = "主键Id",description = "")
    private String menuId ;


    /** 菜单类型(目录、菜单、按钮);目录、菜单、按钮 */
    @Schema(name = "菜单类型(目录、菜单、按钮)",description = "目录0、菜单1、按钮2")
    private String type ;


    /** 菜单名称 */
    @Schema(name = "菜单名称",description = "")
    private String menuName ;


    /** 上级菜单 */
    @Schema(name = "上级菜单",description = "")
    private String parentMenu ;


    /** 排序 */
    @Schema(name = "排序",description = "")
    private Integer orderNo ;


    /** 路由地址 */
    @Schema(name = "路由地址",description = "")
    private String routePath ;


    /** 图标 */
    @Schema(name = "图标",description = "")
    private String icon ;


    /** 组件路径 */
    @Schema(name = "组件路径",description = "")
    private String component ;


    /** 权限标识 */
    @Schema(name = "权限标识",description = "")
    private String permission ;


    /** 状态(启用0/禁用1);启用（0）/禁用（1） */
    @Schema(name = "状态(启用0/禁用1)",description = "启用（0）/禁用（1）")
    private String status ;


    /** 是否外链(是1/否0);(是1/否0) */
    @Schema(name = "是否外链(是1/否0)",description = "(是1/否0)")
    private String isExt ;


    /** 是否显示(是1/否0);(是1/否0) */
    @Schema(name = "是否显示(是1/否0)",description = "(是1/否0)")
    private String show ;


    /** 是否缓存(是1/否0);(是1/否0) */
    @Schema(name = "是否缓存(是1/否0)",description = "(是1/否0)")
    private String keepAlive ;

    /** 重定向 */
    @Schema(name = "重定向",description = "")
    private String redirect ;

    /** 外链地址 */
    @Schema(name = "外链地址",description = "")
    private String frameSrc ;


    /** 当前活动菜单 */
    @Schema(name = "当前活动菜单",description = "")
    private String currentActiveMenu ;


}